package com.xmh.security_1.dao;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;

import com.xmh.security_1.entity.RolesEntity;

@Mapper
public interface RolesDAO {

    RolesEntity get(RolesEntity roles);

    void add(RolesEntity roles);

    void delete(RolesEntity roles);

    void update(RolesEntity roles);

    List<RolesEntity> selectList(Map<String, Object> jsonMap);

    RolesEntity getById(Integer id);

}
